package com.jf.demo;

import com.lidroid.xutils.ViewUtils;
import com.lidroid.xutils.view.annotation.ContentView;
import com.lidroid.xutils.view.annotation.ViewInject;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.TextView;
import android.widget.Toast;
@ContentView(R.layout.my_order_evaluation_detailed)
public class MyOrderEvaluationDetailed extends Activity {
	@ViewInject(R.id.textView1)
	private TextView textView1;
	
	@ViewInject(R.id.textView2)
	private TextView textView2;
	
	@ViewInject(R.id.textView3)
	private TextView textView3;
	
	@ViewInject(R.id.textView5)
	private TextView textView5;
	
	@ViewInject(R.id.textView6)
	private TextView textView6;
	
	@ViewInject(R.id.textView7)
	private TextView textView7;
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		// TODO Auto-generated method stub
		super.onCreate(savedInstanceState);
		ViewUtils.inject(this);
		
		Intent intent = getIntent();
		
		textView1.setText("快递公司："+intent.getStringExtra("cpmpanyName"));
		textView2.setText("快递单号："+intent.getStringExtra("orderID"));
		textView3.setText("评价分数："+intent.getStringExtra("assessGrade"));
		textView5.setText("评价时间："+intent.getStringExtra("assessData"));
		textView6.setText("评价内容："+intent.getStringExtra("assessContent"));
		if(!"null".equals(intent.getStringExtra("processingResults"))){
			textView7.setText("快递公司处理结果："+intent.getStringExtra("processingResults"));
		}
		
	}
	
	public void finshEvaluationDe(View v){
		this.finish();
	}
}
